package com.spica.spicaschool.bean

import android.os.Parcelable
import androidx.room.Entity
import androidx.room.PrimaryKey
import kotlinx.parcelize.Parcelize



@Parcelize
@Entity
data class SportMotionRecord(
    @PrimaryKey(autoGenerate = true)
    var id: Long? = null,//主键
    val userId: Long?,//用户Id
    var distance: Double? = 0.0,//距离
    var duration: Long? = 0L,//运动时长
    var pathLine: String? = null,//路径
    var stratPoint: String? = null,//开始的时间
    var endPoint: String? = null,//结束的坐标
    var mStartTime: Long? = null,//开始时间
    var mEndTime: Long? = null,//结束时间
    var calorie: Double? = null,//卡路里
    var speed: Double? = null,//时速
    var distribution: Double? = null,//平均速度
    var dateTag: String? = null //日期
) : Parcelable